package com.cheng.spring02.service.impl;

import com.cheng.spring02.dao.UserDao;
import com.cheng.spring02.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getAllUser() {
        userDao.queryAllUser();
    }
}
